import request from '@/utils/request'

// import Axios from 'axios'

export function login(data) {
  return request.post('/sys/login', data)
}

export function getInfo(token) {
}

export async function logout(data) {
  return
}

export function getUsInfo() {
  return request.post('/sys/profile')
}

export function getUserimgId(id) {
  return request.get(`/sys/user/${id}`)
}

export function getUserDetailById(id) {
  return request({
    url: `/sys/user/${id}`
  })
}

